package com.ll.SchoolSafe.Dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ll.SchoolSafe.pojo.Score;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ScoreDao extends BaseMapper<Score> {
    @Select("SELECT * from score where student_id=#{studentId}")
    Score getScoreByStudentId(Integer studentId);
}
